From 6eb3760aa862241c16e9e91cbc3e341e85b00641 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Sat, 10 Mar 2007 14:57:11 +0000 Subject: [PATCH] Add vcpus_max and vcpus_at_startup values to the example VM creation. Signed-off-by: Ewan Mellor --- tools/libxen/test/test_bindings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c index 6a51cd3a05..8e89ee5356 100644 --- a/tools/libxen/test/test_bindings.c +++ b/tools/libxen/test/test_bindings.c @@ -375,6 +375,8 @@ static xen_vm create_new_vm(xen_session *session, bool hvm) .memory_static_min = 128, .vcpus_policy = "credit", .vcpus_params = vcpus_params, + .vcpus_max = 4, + .vcpus_at_startup = 2, .actions_after_shutdown = XEN_ON_NORMAL_EXIT_DESTROY, .actions_after_reboot = XEN_ON_NORMAL_EXIT_RESTART, .actions_after_crash = XEN_ON_CRASH_BEHAVIOUR_PRESERVE, -- 2.30.2